home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0993sept.archive
/
000076_crash!stack.urc.tue.nl!leon_Tue, 28 Sep 93 03:07:58 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
2KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Tue, 28 Sep 93 03:07:58 PST
Received: from mailhost.tue.nl by crash.cts.com with smtp
(Smail3.1.28.1 #18) id m0ohZhQ-0000dNC; Tue, 28 Sep 93 00:42 PDT
Received: from terra.stack.urc.tue.nl by mailhost.tue.nl with SMTP id AA10511
(5.65c/IDA-1.4.4 for <amigae@bkhouse.cts.com>); Tue, 28 Sep 1993 08:42:11 +0100
Received: from blade.stack.urc.tue.nl by terra.stack.urc.tue.nl (4.1/1.53)
id AA01028; Tue, 28 Sep 93 08:42:08 +0100
Received: by blade.stack.urc.tue.nl (4.1/1.53)
id AA16652; Tue, 28 Sep 93 08:42:25 +0100
Message-Id: <9309280742.AA16652@blade.stack.urc.tue.nl>
Date: Tue, 28 Sep 1993 08:42:24 +0100 (MET)
X-Mailer: ELM [version 2.4 PL20]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 981
From: leon@stack.urc.tue.nl (Leon Woestenberg)
To: amigae@bkhouse.cts.com (AmigaE Mailing List)
Cc: .@stack.urc.tue.nl
Subject: GTSL_DISPFUNC & E PROC ?
Hi all,
I'm having probs with a slidergadget and it's GTSL_DISPFUNC tagitem. This
tagitem is meant to add a function to the slider that calculates the level
to be displayed near to the slider.
For example, it may be needed to use the slider to select a screen depth,
while the levelvalue is the number of colours, here 2^level.
The problem is that I can't attach a function (a PROC) to this tag properly,
as the system crashes when I move the slider (and the system wants to call
my function calculate the according value to be displayed.
I attach the function as follows:
GTSL_DISPFUNC,{calculatelevel}
but I have no idea how the function should read the arguments it gets, (I
believe a window pointer and a gadgetpointer, but I'm not sure as I don't
carry my RKRM'S with me all the time :o)
Can anyone give an example of how this must be done?
--
Signatures sold out at the time.... Leon Woestenberg (leon@stack.urc.tue.nl)
If lines are busy, try later. But DO call!
--